.class public Lcom/example/m6wmr/GiftActivity$viewClickListener;
.super Ljava/lang/Object;
.source "GiftActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/example/m6wmr/GiftActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x1
    name = "viewClickListener"
.end annotation


# instance fields
.field private giftid:Ljava/lang/String;

.field private giftname:Ljava/lang/String;

.field private giftstock:Ljava/lang/String;

.field final synthetic this$0:Lcom/example/m6wmr/GiftActivity;


# direct methods
.method public constructor <init>(Lcom/example/m6wmr/GiftActivity;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
    .locals 0
    .param p2, "id"    # Ljava/lang/String;
    .param p3, "stock"    # Ljava/lang/String;
    .param p4, "gname"    # Ljava/lang/String;

    .prologue
    .line 346
    iput-object p1, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->this$0:Lcom/example/m6wmr/GiftActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 347
    iput-object p3, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->giftstock:Ljava/lang/String;

    .line 348
    iput-object p2, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->giftid:Ljava/lang/String;

    .line 349
    iput-object p4, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->giftname:Ljava/lang/String;

    .line 350
    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 354
    iget-object v1, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->this$0:Lcom/example/m6wmr/GiftActivity;

    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->giftname:Ljava/lang/String;

    invoke-static {v1, v2}, Lcom/example/m6wmr/GiftActivity;->access$0(Lcom/example/m6wmr/GiftActivity;Ljava/lang/String;)V

    .line 355
    iget-object v1, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->this$0:Lcom/example/m6wmr/GiftActivity;

    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->giftid:Ljava/lang/String;

    invoke-static {v1, v2}, Lcom/example/m6wmr/GiftActivity;->access$1(Lcom/example/m6wmr/GiftActivity;Ljava/lang/String;)V

    .line 356
    iget-object v1, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->this$0:Lcom/example/m6wmr/GiftActivity;

    iget-object v2, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->giftstock:Ljava/lang/String;

    invoke-static {v1, v2}, Lcom/example/m6wmr/GiftActivity;->access$2(Lcom/example/m6wmr/GiftActivity;Ljava/lang/String;)V

    .line 357
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    .line 358
    .local v0, "msg":Landroid/os/Message;
    const/4 v1, 0x4

    iput v1, v0, Landroid/os/Message;->arg1:I

    .line 359
    iget-object v1, p0, Lcom/example/m6wmr/GiftActivity$viewClickListener;->this$0:Lcom/example/m6wmr/GiftActivity;

    iget-object v1, v1, Lcom/example/m6wmr/GiftActivity;->h:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 362
    return-void
.end method
